src/POData/UriProcessor/ResourcePathProcessor/SegmentParser/SegmentDescriptor.php
/**
     * Creates a new instance of SegmentDescriptor from another SegmentDescriptor instance
     *
     * @param SegmentDescriptor $anotherDescriptor The descriptor whose shallow copy to be created
     *
     * @return SegmentDescriptor
     */
Creates a new instance of SegmentDescriptor from another SegmentDescriptor instance
@param SegmentDescriptor $anotherDescriptor The descriptor whose shallow copy to be created


Creates a new instance of SegmentDescriptor from another SegmentDescriptor instance @param SegmentDescriptor $anotherDescriptor The descriptor whose shallow copy to be created
public static function createFrom(SegmentDescriptor $anotherDescriptor)
    {
        $descriptor = new SegmentDescriptor();
        $descriptor->_identifier = $anotherDescriptor->_identifier;
        $descriptor->_keyDescriptor = $anotherDescriptor->_keyDescriptor;
        $descriptor->_projectedProperty = $anotherDescriptor->_projectedProperty;
        $descriptor->_singleResult = $anotherDescriptor->_singleResult;
        $descriptor->_targetKind = $anotherDescriptor->_targetKind;
        $descriptor->_targetResourceSetWrapper = $anotherDescriptor->_targetResourceSetWrapper;
        $descriptor->_targetResourceType = $anotherDescriptor->_targetResourceType;
        $descriptor->_targetSource = $anotherDescriptor->_targetSource;
        return $descriptor;
    }
public static function createFrom ( SegmentDescriptor $ anotherDescriptor ) { $ descriptor = new SegmentDescriptor ( ) ; $ descriptor -> _identifier = $ anotherDescriptor -> _identifier ; $ descriptor -> _keyDescriptor = $ anotherDescriptor -> _keyDescriptor ; $ descriptor -> _projectedProperty = $ anotherDescriptor -> _projectedProperty ; $ descriptor -> _singleResult = $ anotherDescriptor -> _singleResult ; $ descriptor -> _targetKind = $ anotherDescriptor -> _targetKind ; $ descriptor -> _targetResourceSetWrapper = $ anotherDescriptor -> _targetResourceSetWrapper ; $ descriptor -> _targetResourceType = $ anotherDescriptor -> _targetResourceType ; $ descriptor -> _targetSource = $ anotherDescriptor -> _targetSource ; return $ descriptor ; }
Creates a new instance of SegmentDescriptor from another SegmentDescriptor instance
 @param SegmentDescriptor $anotherDescriptor The descriptor whose shallow copy to be created
Creates a new instance of SegmentDescriptor from another SegmentDescriptor instance @param SegmentDescriptor $anotherDescriptor The descriptor whose shallow copy to be created