protected function _foreignKeyAcceptsNull(Table $table, array $properties)
    {
        return !in_array(
            false,
            array_map(
                function ($prop) use ($table) {
                    return $table->getSchema()->isNullable($prop);
                },
                $properties
            )
        );
    }
protected function _foreignKeyAcceptsNull(Table $table, array $properties)
    {
        return !in_array(
            false,
            array_map(
                function ($prop) use ($table) {
                    return $table->getSchema()->isNullable($prop);
                },
                $properties
            )
        );
    }
protected function _foreignKeyAcceptsNull ( Table $ table , array $ properties ) { return ! in_array ( false , array_map ( function ( $ prop ) use ( $ table ) { return $ table -> getSchema ( ) -> isNullable ( $ prop ) ; } , $ properties ) ) ; }
Checks the nullable flag of the foreign key

@param \Cake\ORM\Table $table the table containing the foreign key
@param array $properties the list of fields that compose the foreign key
@return bool
Checks the nullable flag of the foreign key