public function getRawValue(): array
	{
		$primaryValues = [];
		foreach ($this->getIterator() as $entity) {
			if ($entity->isPersisted()) {
				$primaryValues[] = $entity->getValue('id');
			}
		}
		return $primaryValues;
	}
public function getRawValue(): array
	{
		$primaryValues = [];
		foreach ($this->getIterator() as $entity) {
			if ($entity->isPersisted()) {
				$primaryValues[] = $entity->getValue('id');
			}
		}
		return $primaryValues;
	}
public function getRawValue ( ) : array { $ primaryValues = [ ] ; foreach ( $ this -> getIterator ( ) as $ entity ) { if ( $ entity -> isPersisted ( ) ) { $ primaryValues [ ] = $ entity -> getValue ( 'id' ) ; } } return $ primaryValues ; }
Returns primary values of enitities in relationship.
@return mixed[]
Returns primary values of enitities in relationship .