public function getArea()
    {
        $area = $this->getArgument('area');
        $allowed = $this->getAllowedAreas();

        if ($area) {
            if (! $this->isAllowedArea($area)) {
                throw new AssetException('Illegal Asset Area: Assets can be only assigned to '.implode(', ', $allowed));
            }

            return $area;
        }

        return reset($allowed);
    }
public function getArea()
    {
        $area = $this->getArgument('area');
        $allowed = $this->getAllowedAreas();

        if ($area) {
            if (! $this->isAllowedArea($area)) {
                throw new AssetException('Illegal Asset Area: Assets can be only assigned to '.implode(', ', $allowed));
            }

            return $area;
        }

        return reset($allowed);
    }
public function getArea ( ) { $ area = $ this -> getArgument ( 'area' ) ; $ allowed = $ this -> getAllowedAreas ( ) ; if ( $ area ) { if ( ! $ this -> isAllowedArea ( $ area ) ) { throw new AssetException ( 'Illegal Asset Area: Assets can be only assigned to ' . implode ( ', ' , $ allowed ) ) ; } return $ area ; } return reset ( $ allowed ) ; }
Gets asset area.

@return string
Gets asset area .