PHPSA\Definition\RuntimeClassDefinition::compile PHP Method

compile() public method

public compile ( Context $context )
$context PHPSA\Context
    public function compile(Context $context)
    {
        return $this;
    }

Usage Example

 public function testConstruct()
 {
     $definition = new RuntimeClassDefinition(new ReflectionClass(self::TEST_CLASS_NAME));
     $definition->compile($this->getContext());
 }