private function checkDependencies()
    {
        if (!($this->di instanceof DiInterface)) {
            throw new DiNotSetException();
        }

        if (!$this->di->has('view')) {
            throw new ViewNotSetException();
        }

        if (!$this->di->has('assets')) {
            throw new InvalidAssetsManagerException();
        }
    }
private function checkDependencies()
    {
        if (!($this->di instanceof DiInterface)) {
            throw new DiNotSetException();
        }

        if (!$this->di->has('view')) {
            throw new ViewNotSetException();
        }

        if (!$this->di->has('assets')) {
            throw new InvalidAssetsManagerException();
        }
    }
private function checkDependencies ( ) { if ( ! ( $ this -> di instanceof DiInterface ) ) { throw new DiNotSetException ( ) ; } if ( ! $ this -> di -> has ( 'view' ) ) { throw new ViewNotSetException ( ) ; } if ( ! $ this -> di -> has ( 'assets' ) ) { throw new InvalidAssetsManagerException ( ) ; } }
Check for required DI services.

@throws Decorator\Exception\DiNotSetException
@throws Decorator\Exception\InvalidAssetsManagerException
@throws Decorator\Exception\ViewNotSetException
Check for required DI services .