public function loadByWebappPath($webappPath)
    {
        foreach ($this->findAll() as $appNode) {
            if ($appNode->getWebappPath() == $webappPath) {
                return $appNode;
            }
        }
    }
public function loadByWebappPath($webappPath)
    {
        foreach ($this->findAll() as $appNode) {
            if ($appNode->getWebappPath() == $webappPath) {
                return $appNode;
            }
        }
    }
public function loadByWebappPath ( $ webappPath ) { foreach ( $ this -> findAll ( ) as $ appNode ) { if ( $ appNode -> getWebappPath ( ) == $ webappPath ) { return $ appNode ; } } }
Returns the application with the passed webapp path.

@param string $webappPath webapp path of the application to return

@return \AppserverIo\Appserver\Core\Api\Node\AppNode|null The application with the webapp path
passed as parameter
Returns the application with the passed webapp path .