Gitlab\Model\Project::createFile PHP Метод

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

public createFile ( string $file_path, string $content, string $branch_name, string $commit_message ) : Gitlab\Model\File
$file_path string
$content string
$branch_name string
$commit_message string
Результат Gitlab\Model\File
    public function createFile($file_path, $content, $branch_name, $commit_message)
    {
        $data = $this->api('repo')->createFile($this->id, $file_path, $content, $branch_name, $commit_message);
        return File::fromArray($this->getClient(), $this, $data);
    }