protected function parseSegments( $expression, $requiredSegmentCount )
	{
		$segments = explode( ',', preg_replace( "/[ \(\)\\\"\']/", '', $expression ) );

		if ( $requiredSegmentCount > count( $segments ) )
			throw new FrameworkException( "Blade directive is short the required number of segments of " . $requiredSegmentCount );

		return $segments;
	}
protected function parseSegments( $expression, $requiredSegmentCount )
	{
		$segments = explode( ',', preg_replace( "/[ \(\)\\\"\']/", '', $expression ) );

		if ( $requiredSegmentCount > count( $segments ) )
			throw new FrameworkException( "Blade directive is short the required number of segments of " . $requiredSegmentCount );

		return $segments;
	}
protected function parseSegments ( $ expression , $ requiredSegmentCount ) { $ segments = explode ( ',' , preg_replace ( "/[ \(\)\\\"\']/" , '' , $ expression ) ) ; if ( $ requiredSegmentCount > count ( $ segments ) ) throw new FrameworkException ( "Blade directive is short the required number of segments of " . $ requiredSegmentCount ) ; return $ segments ; }
Parses out a blade directive arguments

@param $expression
@param $requiredSegmentCount
@return array
@throws FrameworkException
Parses out a blade directive arguments