protected function getContentTypeUserPermissions($contentTypeSlug, $user = null)
    {
        if ($user === null) {
            return $this->app['permissions']->getContentTypePermissions();
        }

        return $this->app['permissions']->getContentTypeUserPermissions($contentTypeSlug, $user);
    }
protected function getContentTypeUserPermissions($contentTypeSlug, $user = null)
    {
        if ($user === null) {
            return $this->app['permissions']->getContentTypePermissions();
        }

        return $this->app['permissions']->getContentTypeUserPermissions($contentTypeSlug, $user);
    }
protected function getContentTypeUserPermissions ( $ contentTypeSlug , $ user = null ) { if ( $ user === null ) { return $ this -> app [ 'permissions' ] -> getContentTypePermissions ( ) ; } return $ this -> app [ 'permissions' ] -> getContentTypeUserPermissions ( $ contentTypeSlug , $ user ) ; }
Helper to get a user's permissions for a ContentType.

@param string             $contentTypeSlug
@param array|Entity\Users $user

@return bool[]
Helper to get a user s permissions for a ContentType .