Skip to content

Conversation

@Olicek
Copy link

@Olicek Olicek commented May 4, 2016

No description provided.

public function afterCompile(Nette\PhpGenerator\ClassType $class)
{
$meta = $class->properties['meta'];
$meta = $class->getProperties()['meta'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be $class->getProperty('meta') for short ...

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, works for me too.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use shorter version $meta = $class->getProperty('meta'); :)

@radmax
Copy link

radmax commented Jul 1, 2016

@Olicek it is now Nette 2.4 stable incompatibility

@bckp
Copy link
Contributor

bckp commented Jul 12, 2016

Duplicate with #126 (that have better name by my opinion)

@FilipNovy
Copy link

@fprochazka Please can you merge this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants