private function getScriptsPlacement()
    {
        $placement = $this->getArgument('placement');
        $allowed = $this->getAllowedPlacements();

        if ($placement) {
            if (! $this->isAllowedPlacement($placement)) {
                throw new AssetException('Illegal placement: Script assets can be only placed in '.implode(', ', $allowed));
            }

            if ($this->isPlacement('head')) {
                return $placement;
            }
        }

        return 'footer';
    }
private function getScriptsPlacement()
    {
        $placement = $this->getArgument('placement');
        $allowed = $this->getAllowedPlacements();

        if ($placement) {
            if (! $this->isAllowedPlacement($placement)) {
                throw new AssetException('Illegal placement: Script assets can be only placed in '.implode(', ', $allowed));
            }

            if ($this->isPlacement('head')) {
                return $placement;
            }
        }

        return 'footer';
    }
private function getScriptsPlacement ( ) { $ placement = $ this -> getArgument ( 'placement' ) ; $ allowed = $ this -> getAllowedPlacements ( ) ; if ( $ placement ) { if ( ! $ this -> isAllowedPlacement ( $ placement ) ) { throw new AssetException ( 'Illegal placement: Script assets can be only placed in ' . implode ( ', ' , $ allowed ) ) ; } if ( $ this -> isPlacement ( 'head' ) ) { return $ placement ; } } return 'footer' ; }
Gets placement of scripts asset.

@return bool
Gets placement of scripts asset .