terdia/legato-framework

View on GitHub
src/Console/Interfaces/TemplateGenerator.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/*
 * This file is part of the Legato package.
 *
 * (c) Osayawe Ogbemudia Terry <terry@devscreencast.com>
 *
 * For the full copyright and license information, please view the LICENSE
 *  file that was distributed with this source code.
 *
 */

namespace Legato\Framework;

interface TemplateGenerator
{
    /**
     * Get the stub for the file to be generated.
     *
     * @param $type
     *
     * @return mixed
     */
    public function getTemplate($type = null);

    /**
     * @param $search
     * @param $replace
     * @param $target
     *
     * @return mixed
     */
    public function findTemplateAndReplacePlaceHolders($search, $replace, $target);
}