traits/console.php
final protected function _getPropertyKey(\ReflectionProperty $property)
	{
		$static = $property->isStatic() ? ' static' : '';
		if ($property->isPublic()) {
			return 'public' . $static . ' ' . $property->getName();
		}
		if ($property->isProtected()) {
			return 'protected' . $static . ' ' . $property->getName();
		}
		if ($property->isPrivate()) {
			return 'private' . $static . ' ' . $property->getName();
		}
	}
final protected function _getPropertyKey(\ReflectionProperty $property)
	{
		$static = $property->isStatic() ? ' static' : '';
		if ($property->isPublic()) {
			return 'public' . $static . ' ' . $property->getName();
		}
		if ($property->isProtected()) {
			return 'protected' . $static . ' ' . $property->getName();
		}
		if ($property->isPrivate()) {
			return 'private' . $static . ' ' . $property->getName();
		}
	}
final protected function _getPropertyKey ( \ ReflectionProperty $ property ) { $ static = $ property -> isStatic ( ) ? ' static' : '' ; if ( $ property -> isPublic ( ) ) { return 'public' . $ static . ' ' . $ property -> getName ( ) ; } if ( $ property -> isProtected ( ) ) { return 'protected' . $ static . ' ' . $ property -> getName ( ) ; } if ( $ property -> isPrivate ( ) ) { return 'private' . $ static . ' ' . $ property -> getName ( ) ; } }
takes a reflection property and returns a nicely formatted key of the property name

@param ReflectionProperty
@return string
takes a reflection property and returns a nicely formatted key of the property name