PhpGitHooks\Module\Git\Service\GitIgnoreWriter::write PHP Метод

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

public write ( string $content )
$content string
    public function write($content)
    {
        $this->gitIgnoreWriter->write($content);
    }

Usage Example

 /**
  * @param CommandInterface|GitIgnoreWriterCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->gitIgnoreWriter->write($command->getContent());
 }
GitIgnoreWriter