src/Database/ORM/Traits/Serializable.php
/**
	 * Tests whether the column or relationship name can be serialized.
	 *
	 * @param string $name
	 * @return bool
	 */
Tests whether the column or relationship name can be serialized.
@param string $name
@return bool
Tests whether the column or relationship name can be serialized . @param string $name @return bool
protected function isColumnSerializable($name) {
		if (!empty($this->visible)) {
			if (!in_array($name, $this->visible)) {
				return false;
			}
		}
		else if (!empty($this->hidden)) {
			if (in_array($name, $this->hidden)) {
				return false;
			}
		}
		return true;
	}
protected function isColumnSerializable ( $ name ) { if ( ! empty ( $ this -> visible ) ) { if ( ! in_array ( $ name , $ this -> visible ) ) { return false ; } } else if ( ! empty ( $ this -> hidden ) ) { if ( in_array ( $ name , $ this -> hidden ) ) { return false ; } } return true ; }
Tests whether the column or relationship name can be serialized.
Tests whether the column or relationship name can be serialized .