Skip to content

Commit

Permalink
Make extendable DefaultPhpFileExtractor class
Browse files Browse the repository at this point in the history
  • Loading branch information
fchris82 committed Apr 12, 2016
1 parent 47a3965 commit 320cb0e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Translation/Extractor/File/DefaultPhpFileExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,32 @@ class DefaultPhpFileExtractor implements LoggerAwareInterface, FileVisitorInterf
/**
* @var NodeTraverser
*/
private $traverser;
protected $traverser;

/**
* @var MessageCatalogue
*/
private $catalogue;
protected $catalogue;

/**
* @var \SplFileInfo
*/
private $file;
protected $file;

/**
* @var DocParser
*/
private $docParser;
protected $docParser;

/**
* @var LoggerInterface
*/
private $logger;
protected $logger;

/**
* @var Node
*/
private $previousNode;
protected $previousNode;

/**
* DefaultPhpFileExtractor constructor.
Expand Down Expand Up @@ -286,7 +286,7 @@ public function visitTwigFile(\SplFileInfo $file, MessageCatalogue $catalogue, \
* @param Node $node
* @return null|string
*/
private function getDocCommentForNode(Node $node)
protected function getDocCommentForNode(Node $node)
{
// check if there is a doc comment for the ID argument
// ->trans(/** @Desc("FOO") */ 'my.id')
Expand Down

0 comments on commit 320cb0e

Please sign in to comment.