Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (is_string($proposal)) {
- $className = '\Caxy\ProposalBundle\Entity\\' . $proposal;
- if (!class_exists($className)) {
- return false;
- }
- $class = new \ReflectionClass($className);
- $statuses = $class->getStatusPropertyValue('statuses');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement