G
G
ganjo8882020-03-12 14:45:30
PHPUnit
ganjo888, 2020-03-12 14:45:30

How to lock a class?

class Parser
{
    private $schemaReader;
    private $fileParser;
    public function __construct(SchemaReaderInterface $schemaReader, FileParserInterface $fileParser)
    {
        $this->schemaReader =$schemaReader;
        $this->fileParser = $fileParser;
    }
}

How to lock interfaces?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question