1: <?php
2:
3: namespace ProgrammingAreHard\Arbiter\Domain;
4:
5: use ProgrammingAreHard\Arbiter\Model\PermissionsFactoryInterface;
6:
7: class PermissionsFactory implements PermissionsFactoryInterface
8: {
9: /**
10: * {@inheritdoc}
11: */
12: public function newPermissions(array $permissions = array())
13: {
14: return new Permissions($permissions);
15: }
16: }