for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHP version 7.1
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace PhUml\Code;
* It represents an interface definition
class InterfaceDefinition extends Definition
{
public function hasAttributes(): bool
return \count($this->constants) > 0;
}
public function hasParent(): bool
return $this->extends !== null;