Cake\Upgrade\Shell\Task\StageTask::source PHP Метод

source() публичный Метод

Get the source of a file, taking into account that there may be incremental diffs
public source ( string $path ) : string
$path string
Результат string
    public function source($path)
    {
        if (isset($this->_staged['change'][$path])) {
            $path = TMP . 'upgrade' . DS . end($this->_staged['change'][$path]);
        }
        return file_get_contents($path);
    }